View Javadoc
1 /* 2 * Angkor Web Framework 3 * 4 * Distributable under LGPL license. 5 * See terms of license at gnu.org. 6 */ 7 8 package com.tirsen.angkor.widget; 9 10 11 /*** 12 * A value model with a value that can not be modified, useful for creating dynamic content by 13 * creating an anonymous class overriding the getValue-method. 14 * 15 * <!-- $Id: ReadOnlyValueModel.java,v 1.2 2002/10/07 19:49:21 tirsen Exp $ --> 16 * 17 * @author $Author: tirsen $ 18 * @version $Revision: 1.2 $ 19 */ 20 public class ReadOnlyValueModel extends BasicValueModel 21 { 22 public ReadOnlyValueModel(Object value) 23 { 24 setValue(value); 25 } 26 27 public ReadOnlyValueModel() 28 { 29 } 30 31 public boolean isReadOnly() 32 { 33 return true; 34 } 35 }

This page was automatically generated by Maven